<!-- 我的表格 -->

<template>
  <WebTable>
    <!-- <RowCheckbox /> -->

    <RowIndex />

    <RowTitle :label="`${CORE.MAP.ASSET}编号`" bind="assetCode" :width="120" />

    <RowText :label="`${CORE.MAP.ASSET}名称`" bind="assetName" :minWidth="100" />

    <RowTree :label="`${CORE.MAP.ASSET}分类`" bind="assetTypeId" :dict="$root.device_category_treeDict" :width="100" />

    <RowStatus width="auto" />

    <RowTree :label="`所属${CORE.MAP.ORGAN}`" bind="organizationId" :dict="CORE.ORGAN.DICT" />

    <RowTree :label="`所在${CORE.MAP.REGION}`" bind="areaId" :dict="CORE.REGION.DICT" allName :minWidth="120" />

    <RowDate label="购置日期" bind="purchaseDate" />

    <RowOperate newOne :onShow="windowDetail" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToTable('', 'DetailDevice')],
}
</script>
